package org.example.database_course_design.entity.PO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cardinfo")

public class Cardinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cardID", type = IdType.AUTO)
    private String cardID;

    @TableField(value = "curID")
    private String curID;

    @TableField(value = "savingID")
    private Integer savingID;

    @TableField(value = "openDate")
    private LocalDateTime openDate;

    @TableField(value = "openMoney")
    private BigDecimal openMoney;

    private BigDecimal balance;

    private String pass;

    @TableField(value = "IsReportLoss")
    private String IsReportLoss;

    @TableField(value = "customerID")
    private Long customerID;


}
